package com.zhang.hadoop.rpc.server;

import com.zhang.hadoop.rpc.client.IGpHello;

/**
 * @author zhang yufei
 * @date 2022/1/6 5:11 下午
 **/
public class TestServer {

    public static void main(String[] args) {
        IGpHello iGpHello = new GpHelloImpl();
        RpcServer rpcServer = new RpcServer();
        rpcServer.publisher(iGpHello, 8080);
    }
}
